/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * EsqueciSenha.java
 *
 * Created on 05/03/2011, 17:38:55
 */

package sisgraf;

/**
 *
 * @author jordan
 */
public class EsqueciSenha extends javax.swing.JDialog {

    /** Creates new form EsqueciSenha */
    public EsqueciSenha(java.awt.Frame parent, boolean modal) {
        super(parent, modal);
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        rotuloTituloSistema = new javax.swing.JLabel();
        rotuloSubTituloEsqueci = new javax.swing.JLabel();
        rotuloUsuario = new javax.swing.JLabel();
        rotuloEmail = new javax.swing.JLabel();
        rotuloDataNascimento = new javax.swing.JLabel();
        campoTextoUsuario = new javax.swing.JTextField();
        campoTextoEmail = new javax.swing.JTextField();
        campoFormatadoDataNascimento = new javax.swing.JFormattedTextField();
        painelInferior = new javax.swing.JPanel();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jBtOk = new javax.swing.JButton();
        jBtCancel = new javax.swing.JButton();

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(sisgraf.SisgrafApp.class).getContext().getResourceMap(EsqueciSenha.class);
        setTitle(resourceMap.getString("Form.title")); // NOI18N
        setName("Form"); // NOI18N
        setUndecorated(true);

        rotuloTituloSistema.setText("SISTEMA DE ORÇAMENTO PARA SERIÇOS GRÁFICOS"); // NOI18N
        rotuloTituloSistema.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        rotuloTituloSistema.setName("rotuloTituloSistema"); // NOI18N

        rotuloSubTituloEsqueci.setText("Esqueci Minha Senha"); // NOI18N
        rotuloSubTituloEsqueci.setName("rotuloSubTituloEsqueci"); // NOI18N

        rotuloUsuario.setText("Usuário:"); // NOI18N
        rotuloUsuario.setName("rotuloUsuario"); // NOI18N

        rotuloEmail.setText("EMail:"); // NOI18N
        rotuloEmail.setName("rotuloEmail"); // NOI18N

        rotuloDataNascimento.setText("Data de Nascimento:"); // NOI18N
        rotuloDataNascimento.setName("rotuloDataNascimento"); // NOI18N

        campoTextoUsuario.setText(resourceMap.getString("campoTextoUsuario.text")); // NOI18N
        campoTextoUsuario.setName("campoTextoUsuario"); // NOI18N

        campoTextoEmail.setText(resourceMap.getString("campoTextoEmail.text")); // NOI18N
        campoTextoEmail.setName("campoTextoEmail"); // NOI18N

        campoFormatadoDataNascimento.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.DateFormatter()));
        campoFormatadoDataNascimento.setText(resourceMap.getString("campoFormatadoDataNascimento.text")); // NOI18N
        campoFormatadoDataNascimento.setName("campoFormatadoDataNascimento"); // NOI18N

        painelInferior.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
        painelInferior.setName("painelInferior"); // NOI18N

        jLabel6.setText("Gráfica Modêlo"); // NOI18N
        jLabel6.setName("jLabel6"); // NOI18N

        jLabel7.setText("Grupo de Estudo PMA"); // NOI18N
        jLabel7.setName("jLabel7"); // NOI18N

        javax.swing.GroupLayout painelInferiorLayout = new javax.swing.GroupLayout(painelInferior);
        painelInferior.setLayout(painelInferiorLayout);
        painelInferiorLayout.setHorizontalGroup(
            painelInferiorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(painelInferiorLayout.createSequentialGroup()
                .addComponent(jLabel6)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 144, Short.MAX_VALUE)
                .addComponent(jLabel7))
        );
        painelInferiorLayout.setVerticalGroup(
            painelInferiorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(painelInferiorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(jLabel6)
                .addComponent(jLabel7))
        );

        jBtOk.setText("Ok"); // NOI18N
        jBtOk.setName("jBtOk"); // NOI18N
        jBtOk.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtOkActionPerformed(evt);
            }
        });

        jBtCancel.setText("Cancelar"); // NOI18N
        jBtCancel.setName("jBtCancel"); // NOI18N
        jBtCancel.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtCancelActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jBtOk)
                            .addComponent(rotuloDataNascimento))
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(campoFormatadoDataNascimento, javax.swing.GroupLayout.PREFERRED_SIZE, 103, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(70, 70, 70)
                                .addComponent(jBtCancel))))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(rotuloUsuario)
                            .addComponent(rotuloEmail))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(campoTextoEmail, javax.swing.GroupLayout.PREFERRED_SIZE, 241, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(campoTextoUsuario))))
                .addContainerGap(22, Short.MAX_VALUE))
            .addComponent(painelInferior, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(layout.createSequentialGroup()
                .addGap(31, 31, 31)
                .addComponent(rotuloTituloSistema)
                .addContainerGap(34, Short.MAX_VALUE))
            .addGroup(layout.createSequentialGroup()
                .addGap(107, 107, 107)
                .addComponent(rotuloSubTituloEsqueci)
                .addContainerGap(116, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(rotuloTituloSistema)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(rotuloSubTituloEsqueci)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(rotuloUsuario)
                    .addComponent(campoTextoUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(rotuloEmail)
                    .addComponent(campoTextoEmail, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(rotuloDataNascimento)
                    .addComponent(campoFormatadoDataNascimento, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jBtOk)
                    .addComponent(jBtCancel))
                .addGap(18, 18, 18)
                .addComponent(painelInferior, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jBtOkActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtOkActionPerformed
        // TODO add your handling code here:
        javax.swing.JOptionPane.showMessageDialog(null, "Sua Senha é:1234", "Informação de Senha", javax.swing.JOptionPane.INFORMATION_MESSAGE);
        this.dispose();
    }//GEN-LAST:event_jBtOkActionPerformed

    private void jBtCancelActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtCancelActionPerformed
        // TODO add your handling code here:
        this.dispose();
    }//GEN-LAST:event_jBtCancelActionPerformed

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                EsqueciSenha dialog = new EsqueciSenha(new javax.swing.JFrame(), true);
                dialog.addWindowListener(new java.awt.event.WindowAdapter() {
                    public void windowClosing(java.awt.event.WindowEvent e) {
                        System.exit(0);
                    }
                });
                dialog.setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JFormattedTextField campoFormatadoDataNascimento;
    private javax.swing.JTextField campoTextoEmail;
    private javax.swing.JTextField campoTextoUsuario;
    private javax.swing.JButton jBtCancel;
    private javax.swing.JButton jBtOk;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JPanel painelInferior;
    private javax.swing.JLabel rotuloDataNascimento;
    private javax.swing.JLabel rotuloEmail;
    private javax.swing.JLabel rotuloSubTituloEsqueci;
    private javax.swing.JLabel rotuloTituloSistema;
    private javax.swing.JLabel rotuloUsuario;
    // End of variables declaration//GEN-END:variables

}
